<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>User</title>
    <meta http-equiv="keywords" content="<?php echo ($tpshop_config['shop_info_store_keyword']); ?>" />
    <meta name="description" content="<?php echo ($tpshop_config['shop_info_store_desc']); ?>" />
    <link rel="stylesheet" href="/Public/Static//css/index.css" type="text/css">
    <script src="/Public/Static/js/jquery-1.10.2.min.js"></script>
    <script src="/Public/Static//js/slider.js"></script>
    <link href="/Public/AmazeUI-2.4.2/assets/css/amazeui.css" rel="stylesheet" type="text/css" />
    <link href="/Public/AmazeUI-2.4.2/assets/css/admin.css" rel="stylesheet" type="text/css" />
    <link rel="icon" href="/Public/images1/ICONlogo.png" type="image/x-icon"/>
    <link href="/Public/basic/css/demo.css" rel="stylesheet" type="text/css" />

    <link href="/Public/css1/hmstyle.css" rel="stylesheet" type="text/css"/>
    <link href="/Public/css1/skin.css" rel="stylesheet" type="text/css" />
    <script src="/Public/AmazeUI-2.4.2/assets/js/jquery.min.js"></script>
    <script src="/Public/AmazeUI-2.4.2/assets/js/amazeui.min.js"></script>

</head>

<body>

<link href="/Public/AmazeUI-2.4.2/assets/css/amazeui.css" rel="stylesheet" type="text/css" />
<link href="/Public/AmazeUI-2.4.2/assets/css/admin.css" rel="stylesheet" type="text/css" />
<link rel="icon" href="/Public/images1/ICONlogo.png" type="image/x-icon"/>
<link href="/Public/basic/css/demo.css" rel="stylesheet" type="text/css" />

<link href="/Public/css1/hmstyle.css" rel="stylesheet" type="text/css"/>
<link href="/Public/css1/skin.css" rel="stylesheet" type="text/css" />
<script src="/Public/AmazeUI-2.4.2/assets/js/jquery.min.js"></script>
<script src="/Public/AmazeUI-2.4.2/assets/js/amazeui.min.js"></script>

<div class="am-container header">
    <ul class="message-l">
        <div class="topMessage">
            <div class="menu-hd">
                <a href="<?php echo U('Home/User/login');?>" target="_top" class="h" style="border-right: 1px solid #000">Sign in&nbsp;</a>
                <a href="<?php echo U('Home/User/register');?>" target="_top">Join</a>
            </div>
        </div>
    </ul>
    <ul class="message-r">
        <div class="topMessage home">
            <div class="menu-hd"><a href="<?php echo U('Home/Index/index');?>" target="_top" class="h"><span>INDEX</span></a></div>
        </div>
        <div class="topMessage my-shangcheng">
            <div class="menu-hd MyShangcheng"><a href="<?php echo U('Home/User/index');?>" target="_top"><img src="/Public/images1/user.png"  alt=""><span>Personal center</span></a></div>
        </div>
        <div class="topMessage mini-cart">
            <div class="menu-hd"><a id="mc-menu-hd" href="<?php echo U('Home/Cart/cart');?>" target="_top"><img src="/Public/images1/shop.png" alt=""><span>Shopping cart</span><strong id="J_MiniCartNum" class="h">0</strong></a></div>
        </div>
        <div class="topMessage favorite">
            <div class="menu-hd"><a href="#" target="_top"><img src="/Public/images1/love.png" width="24" alt=""><span>Favorite</span></a></div>
        </div>
        <div class="topMessage favorite">
            <div class="menu-hd"><a href="<?php echo U('Home/User/logout');?>" target="_top"><img src="/Public/images1/love.png" width="24" alt=""><span>Logout</span></a></div>
        </div>

    </ul>
</div>

<!--悬浮搜索框-->

<div class="nav white">
    <div class="logo"><img src="/Public/images1/logoNew.png" /></div>
    <div class="logoBig">
        <img src="/Public/images1/logoNew.png" width="200"/>
    </div>

    <div class="search-bar pr">
        <a name="index_none_header_sysc" href="#"></a>
        <form>
            <input id="searchInput" name="index_none_header_sysc" type="text" placeholder="search for" autocomplete="off">
            <input id="ai-topsearch" class="submit am-btn" value="Search for" index="1" type="submit">
        </form>
    </div>
</div>

<div class="clear"></div>
<div class="shopNav" style="border-bottom: solid 1px #444444;margin: 0px;">
    <div class="slideall" style="height: auto;">

        <!--<div class="long-title"><span class="all-goods">ALL Categories</span></div>-->
        <div class="nav-cont" >
            <ul>
                <li class="index"><a href="/index.php">HOME</a></li>
<li class="qc"><a href="/index.php">PRODUCTS</a></li>
<li class="qc"><a href="/index.php/Home/Public/aboutAs">ABOUT US</a></li>
<li class="qc"><a href="/index.php">NEWS</a></li>
<li class="qc last"><a href="/index.php/Home/Public/contact">CONTACT US</a></li>
            </ul>
        </div>
    </div>
</div>
<div class="layout pa-to-10 fo-fa-ar">
    <!--菜单-->
    <div class="fl wi240 myimall">
    <div class="li-hi-20 ba-co-danhui">
        <div class="pa-28-0-22">        
            <a class="fo-si-18" href="<?php echo U('/Home/User');?>"><span>My mall</span></a>
        </div>
        <div class="fuy-xim pa-bo-20">
            <ul>
                <li>
                    <h3><span>Order Center</span></h3>
                    <ol>
                        <li id="order_list"><a href="<?php echo U('Home/User/order_list');?>"><span>My Order<!--<i class="w-i">1</i>--></span></a></li>
                        <!--<li id="goods_collect"><a href="<?php echo U('Home/User/goods_collect');?>"><span>我的收藏</span></a></li>-->
                    </ol>
                </li>
                <li>
                    <h3><span>Personal center</span></h3>
                    <ol>
                        <li id="info"><a href="<?php echo U('Home/User/info');?>"><span>Personal information</span></a></li>
               <!--         <li id="account"><a href="<?php echo U('Home/User/account');?>"><span>我的积分</span></a></li>
                        <li id="coupon"><a href="<?php echo U('Home/User/coupon');?>"><span>我的优惠券</span></a></li>-->
                        <li id="address_list"><a href="<?php echo U('Home/User/address_list');?>"><span>Receipt address management</span></a></li>
                <!--        <li id="withdrawals"><a href="<?php echo U('Home/User/withdrawals');?>"><span>提现申请</span></a></li>
                        <li id="recharge"><a href="<?php echo U('Home/User/recharge');?>"><span>我的余额</span></a></li>  -->
                    </ol>
                </li>
<!--                <li>
                    <h3><span>社区中心</span></h3>
                    <ol>
                        <li id="comment"><a href="<?php echo U('Home/User/comment');?>"><span>商品评价</span></a></li>
                        <li id="message_notice"><a href="<?php echo U('Home/User/message_notice');?>"><span>消息通知</span></a></li>
                        <li id="comment"><a href="<?php echo U('Home/User/return_goods_list');?>"><span>退换货</span></a></li>                        
                    </ol>
                </li>-->
            </ul>
        </div>
    </div>
</div>

    <!--菜单-->
    <div class="fr wi940">
        <div class="myhome-welcome pa-to-20">
            <div class="fl myhome-tx">
                <div class="w-img"><img src="<?php echo ((isset($user["head_pic"]) && ($user["head_pic"] !== ""))?($user["head_pic"]):'/Public/Static/images/img88.jpg'); ?>" alt=""></div>
                <div class="w-vip po-ab"><i class="w-v0"></i></div>
            </div>
            <div class="ov-hi ma-le-158">
                <h2 class="n-name"><?php echo ($user["nickname"]); ?>，Welcome！</h2>
                <div class="w-info">
                    <!--<span>我的余额：&nbsp;<em><a href=""><?php echo ($user["user_money"]); ?></a></em></span>-->
					<!--<span>等级：<?php echo ($level[$user['level']][level_name]); ?></span>-->
                    <span>
                        <?php if($user['mobile_validated'] == 1): ?><span><a class="link-non-validated" href="#">Verified phone</a></span>
                            <?php else: ?>
                            <!--<a class="link-non-validated2" href="<?php echo U('Home/User/mobile_validate',array('step'=>1));?>">Unverified phone</a>--><?php endif; ?>
                    </span>
                    <span>
                        <?php if($user['email_validated'] == 1): ?><span><a class="link-non-validated" href="#">Verified mailbox</a></span>
                            <?php else: ?>
                            <a class="link-non-validated2" >Unverified mailbox</a><?php endif; ?>
                    </span>
                    <!--<span><a class="link-non-validated" href="">未实名认证</a></span>-->
                    <!--<span>优惠券&nbsp;<em><a href=""><?php echo ($user["coupon_count"]); ?></a></em>&nbsp;张</span>-->
                    <!--<span>站内信&nbsp;<em><a href="">0</a></em>&nbsp;张</span>-->
                </div>
                <!--<div class="w-ple pa-to-10">-->
                    <!--<dl>-->
                        <!--<dt>我的特权：</dt>-->
                        <!--<dd><a href=""><img src="__STATIC__/images/icon_privilege_vip_small_light.png"/></a></dd>-->
                        <!--<dd><a href=""><img src="__STATIC__/images/icon_privilege_v_small_light.png"/></a></dd>-->
                        <!--<dd><a href=""><img src="__STATIC__/images/icon_privilege_yh_small_light.png"/></a></dd>-->
                        <!--<dd><a href=""><img src="__STATIC__/images/icon_privilege_vipDay_small_gray.png"/></a></dd>-->
                    <!--</dl>-->
                <!--</div>-->
            </div>
            <div class="clickshop">
            	<!--<p>&#45;&#45; 欢迎光临福建农产品网上超市 &#45;&#45;</p>-->
                <p style="margin-top:20px"><a href="/"><span>Start shopping</span></a></p>
            </div>
        </div>
    </div>
</div>
<div class="he80"></div>

<script src="/Public/js/global.js"></script>
<script src="/Public/js/pc_common.js"></script>

<script> 
    function delimg(file,t){
        $.get(
                "/index.php?m=Admin&c=Uploadify&a=delupload",{action:"del", filename:file},function(){}
        );
        $('#head_pic').val('');
        $('#preview').attr('src','');
        $(t).remove();
    }
    function add_img(str){
        var head_pic = $('#head_pic').val();
        $('#head_pic').val(str);
        $('#preview').attr('src',str);

//        if(!$('#delimg')){
//            $('#img_box').append('<button id="delimg" type="button" onclick="delimg('+"'"+str+"'"+',this)">删除图片</button>');
//        }else{
//            $('#delimg').attr('onclick','delimg('+"'"+str+"'"+',this)');
//        }
        if(!head_pic){
            $('#img_box').append('<button id="delimg" type="button" onclick="delimg('+"'"+str+"'"+',this)">删除图片</button>');
        }else{
            $('#delimg').attr('onclick','delimg('+"'"+str+"'"+',this)');
        }

    }
</script>

<script type="text/javascript">
    $(document).ready(function(){
        var icon_wh=$(".icon_wh");
        icon_wh.each(function(){
            var thisObj=$(this);
            thisObj.bind("mouseout",function(){
                $(this).next().css("display","none");
            });
            thisObj.bind("mouseover",function(){
                $(this).next().css("display","block");
            });
        });
    });
</script>
<!--------footer-开始-------------->
<div class="footer ">
    <div class="footer-bd ">
        <p>China Contact: Ms.Sophia Gan EMAIL:sophia@sensilintl.com Tel: 0086 15880683346</p>
        <p>USA Contact: Mr.Brian Williams EMAIL:brain@sensilintl.com
            Tel:001 702 308 4860 M: 001 660537 2111 /001 619 5724642</p>
        <p>© 2017-2018 Sensil International INC.</p>
    </div>
</div>

<!--------footer-结束-------------->
</body>
<script>
    /*$(function () {
     $("#h-s").click(function () {
     $('.ec-ta-x').css('left','124px');
     $('.ec-ta-x').css('width','110px');
     $(this).addClass("cullent");
     $('#q-s').removeClass("cullent");
     });
     });
     */
</script>

<script>
    $(function () {
        $("#h-s").mouseover(function () {
            $('.ec-ta-x').css('left','124px');
            $('.ec-ta-x').css('width','110px');
            $(this).addClass("cullent");
        });
        $("#h-s").mouseout(function () {
            $('.ec-ta-x').css('left','0px');
            $('.ec-ta-x').css('width','124px');
            $(this).removeClass("cullent");
        });
    });
    $(function () {
        $("#q-s").mouseover(function () {
            $('.ec-ta-x').css('left','0px');
            $(this).addClass("cullent");
        });
        $("#q-s").mouseout(function () {
            $('.ec-ta-x').css('left','0px');
        });
    });

</script>
</html>